package com.hotai.vo.she;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.ArrayList;
import java.util.Date;

@Data
public class SheBaoList {
    private ArrayList<SheBao>  sheBaos;
    private Integer uid;    // 用户id
    private Integer cid;  // 课程id
    private Integer  shi;//总用时
    private Integer du;//总完成度
    private Integer zscore;//总分数
    private Integer pattern;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//存到数据库
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") //从数据库
    private Date time;                                   // 完成时间 2021-06-20
}
